﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Akronus.TaskScheduler
{
    /// <summary>
    /// Contains information about task state.
    /// </summary>
    public class TaskInfo
    {
        /// <summary>
        /// Gets or sets the name of the task.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the type of the task.
        /// </summary>
        /// <value>The name.</value>
        public string Type { get; set; }

        /// <summary>
        /// Gets or sets the last run time.
        /// </summary>
        /// <value>The last run time.</value>
        public DateTime LastRunTime { get; set; }

        /// <summary>
        /// Gets or sets the status. For possible values check <see cref="Akronus.TaskScheduler.TaskInfoTypes"/> class.
        /// </summary>
        /// <value>The status.</value>
        public string Status { get; set; }

        public string Data { get; set; }
    }
}
